import kotlinx.coroutines.*
import kotlinx.coroutines.flow.MutableSharedFlow
import kotlinx.coroutines.flow.asSharedFlow
import kotlinx.coroutines.sync.Mutex
import kotlinx.coroutines.sync.withLock
import kotlin.random.Random

object Store {
    val capacity: Double = 1000.0
    var currentCapacity: Double = 0.0
    val products: MutableList<AbstractProduct> = mutableListOf<AbstractProduct>()
}